<%@ Control Language="C#" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Register TagPrefix="FRL" Namespace="FourRoads.Links.Controls" Assembly="FourRoads.Links" %>
<%@ Import Namespace="FourRoads.Links" %>
<div runat="server" id="SuggestLinkBox" style="text-align:left;padding-bottom:7px;">
	<FRL:ModalLink  CssClass="CommonTextButton" ModalType="Link" Height="550" Width="700" runat="Server" resourcename="ResLinksSection_SuggestLink" Callback="linkSuggested" id="SuggestLinkBtn"/>
</div>	
<script language='javascript'> 
function EditLink(sectionID , postID)
{
	Telligent_Modal.Open('/links/SuggestLink.aspx?SectionID=' + sectionID + '&PostID=' + postID, 700 , 550, linkSuggested);
}

var objSugest = document.getElementById('<%=SuggestLinkBtn.ClientID%>')

function initDisplay()
{
	if (objSugest != null)
		objSugest.style.display = "inline";
}

if (objSugest != null)
	objSugest.style.display = "none";

addEvent(window, "load", initDisplay);

</script>